package com.lu.pojo.oop.interfaces;
/**
 * @author luzhenfang
 * @date  2020 05 09
 * @description  鸭子类 实现多接口
 */

public class ImplDuck implements  IRunner,ISwimer,IFlier {
    @Override
    public void fly() {
        System.out.println("我会飞");
    }

    @Override
    public void run() {
        System.out.println("我会跑");
    }

    @Override
    public void swim() {
        System.out.println("我会游泳");
    }
}
